import Vue from 'vue'
import Router from 'vue-router'
import Index from '../page/Index'
import SearchStudentScore from '../page/SearchStudentScore'
import StudentExamList from '../page/StudentExamList'
import StudentScoreList from '../page/StudentScoreList'
import BindInfo from '../page/BindInfo'
import WxLogin from '../page/WxLogin'
import SendStudentScoreMsg from '../page/SendStudentScoreMsg'
import SendInformation from '../page/SendInformation'
import Management from '../page/Management'
import SendToUserList from '../page/SendToUserList'
import StudentAverageRank from '../page/StudentAverageRank'
import MessageHandler from '../page/MessageHandler'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      component: Index
    }, {
      path: '/searchStudentScore',
      component: SearchStudentScore
    }, {
      path: '/wxLogin',
      component: WxLogin
    }, {
      path: '/sendInformation',
      component: SendInformation
    }, {
      path: '/StudentExamList',
      component: StudentExamList
    }, {
      path: '/sendStudentScoreMsg',
      component: SendStudentScoreMsg
    }, {
      path: '/StudentScoreList',
      component: StudentScoreList
    }, {
      path: '/management',
      component: Management
    }, {
      path: '/sendToUserList',
      component: SendToUserList
    }, {
      path: '/BindInfo',
      component: BindInfo
    }, {
      path: '/messageHandler',
      component: MessageHandler
    }, {
      path: '/studentAverageRank',
      component: StudentAverageRank
    }
  ]
})
